package com.qianli.cashmama.trade.common.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/12/6
 * Time: 下午5:36
 */
public enum UniqueRepeatTypeEnum {
    CREATE_TRADE(1, "创建交易"),
    CREATE_BILL(2, "创建账单");

    private int type;

    private String desc;

    UniqueRepeatTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public UniqueRepeatTypeEnum setType(int type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public UniqueRepeatTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
